package ai.knowly.langtorch.llm.openai.schema.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/** The OpenAI resources used by a request */
@Data
public class Usage {
  /** The number of prompt tokens used. */
  @JsonProperty("prompt_tokens")
  long promptTokens;

  /** The number of completion tokens used. */
  @JsonProperty("completion_tokens")
  long completionTokens;

  /** The number of total tokens used */
  @JsonProperty("total_tokens")
  long totalTokens;
}
